<?php //$this->Html->meta("keywords", h($article['Article']['meta_key']), array("inline" => false));?>
<?php //$this->Html->meta("description", h($article['Article']['meta_desc']), array("inline" => false));?>
<?php $this->Html->css('/css/products', array("inline" => false));?>
<?php $this->Html->script('/js/jquery.insetBorderEffect', array("inline" => false));?>
<script type="text/javascript">
$(window).load(function() {
	$(".hover_img_bt").insetBorder({
	  borderType: "double"
	});
});
</script>
<div class="subvisual">
	<div class="container">
	  <div class="info-brand">
		<h2 class="main-title"><?php echo $band['ProductBrand']['brand_name'. $code]?></h2>
		<p class="para-01" align="justify"><?php echo $band['ProductBrand']['short_des'. $code]?></p>
	  </div>
	  <div align="center"><img class="img-responsive" alt="" src="/files/images/<?php echo $band['ProductBrand']['image']?>"></div>
	</div>
</div>
  <div class="container mt-30">
    <div id="Side" class="col-sm-4 col-md-4">
      <ul class="right-menu mb-50">
	  <?php 
	  foreach($brands as $key=>$brand) : 
		if($key%2==0) $class ='class="odd"';
		else $class ='class="even"';
	  ?>
        <li <?php echo $class?>>
		<!--<a href="/product_brand/view/<?php echo $brand['ProductBrand']['id'];?>"><?php echo $brand['ProductBrand']['brand_name'];?></a>-->
        <?php echo $this->Html->link( $brand['ProductBrand']['brand_name'. $code], array(
                'controller' => 'product_brand',
                'action' => 'view',
                'id' => $brand['ProductBrand']['id'],
                'slug' => str_replace(' ', '-', $brand['ProductBrand']['brand_name'. $code])
            ));
            ?>
          </li>
	  <?php endforeach;?>
      </ul><!-- /right-menu -->

      <?php echo $this->element('video');?>
    </div><!-- /#Side -->

    <div id="Main" class="col-sm-8 col-md-8">
      <section class="brands-list row cf mb-40">
	  <?php if(count(@$categoryList)) :?>
		<?php foreach($categoryList as $category):?>
        <div class="col-sm-4 col-md-4">
          <div class="brand brand-other">
            <div class="brand-image">
              <img src="/files/images/<?php echo @$category['ProductCategory']['category_image'];?>" alt="" class="img-responsive">
              <?php echo $this->Html->link( __('More', true), array(
                  'controller' => 'products',
                  'action' => 'category',
                  'id' => $category['ProductCategory']['id'],
                  'slug' => str_replace(' ', '-', $category['ProductCategory']['category_name_en'])
                ), 
                array ('class' => 'btn btn-more')
              );
              ?>
            </div>
            <h3 class="brand-title align-center">
            <?php echo $this->Html->link( $category['ProductCategory']['category_name' . $code], array(
                'controller' => 'products',
                'action' => 'category',
                'id' => $category['ProductCategory']['id'],
                'slug' => str_replace(' ', '-', $category['ProductCategory']['category_name_en'])
            ));
            ?>
			</h3>
          </div>
        </div>
		<?php endforeach;?>
		<?php else:?>
		<div class="col-sm-4 col-md-4"><?php echo __('We are updating...')?></div>
		<?php endif;?>
      </section><!-- /section -->
    </div><!-- /#Main -->
</div><!-- /container -->